/*
* Copyright (c) Huawei Technologies Co., Ltd. 2022. All rights reserved.
*/

#ifndef DVPP_MEM_ALLOCATER_DMA_H
#define DVPP_MEM_ALLOCATER_DMA_H

#include "dvpp_cmdlist.h"
#include "dvpp_dma_mem_ctrl.h"

int32_t alloc_dma_memory(uint32_t pool_id, dvpp_sqe_args* sqe_args, uint32_t size, dvpp_dma_mem* dma_mem);
void free_dma_memory(uint32_t pool_id, dvpp_sqe_args* sqe_args, dvpp_dma_mem* dma_mem);


#endif // #ifndef DVPP_MEM_ALLOCATER_DMA_H